import React, { useState, useEffect } from 'react'
import { View } from '@tarojs/components'
import Mask from '@/components/Mask'
import { fetchCopyOrganizationUserExamVolunteerResultById } from '@/server/school'
import Router from '@/utils/router'
import './index.scss'
const CheckDrawer = (props) => {
    const { visible = {}, onClose } = props
    const { detail = {}, describe, onOk, onFail } = visible
    const { provinceName, cultureScore, subjectDesc } = detail
    return <Mask closeBtn={false} {...props}>
        <View className='CheckDrawer_box'>
            <View className='CheckDrawer_content'>
                <View className='CheckDrawer_title_box'>
                    温馨提示
                </View>
                <View className='CheckDrawer_desc_box'>
                    浙江高考成绩已公布！
                </View>
                {/* <View className='CheckDrawer_desc_box'>{describe}</View> */}
                <View className='CheckDrawer_tag_box'>
                    <View className='CheckDrawer_tag_red'>
                        确认当前选科、成绩是否为你的真实成绩，确认后将无法修改，请谨慎操作！
                    </View>
                    <View className='CheckDrawer_tag_font1'>
                        当前成绩为：
                    </View>
                    <View className='CheckDrawer_tag_detail'>
                        <View>
                            {provinceName}
                        </View>
                        <View className='CheckDrawer_tag_liner'>

                        </View>
                        <View>
                            {subjectDesc}
                        </View>
                        <View className='CheckDrawer_tag_liner'>

                        </View>
                        <View>
                            {cultureScore}
                        </View>

                    </View>
                </View>
                <View className='CheckDrawer_btn_height'>
                    <View onClick={onOk} className='CheckDrawer_btn_info'>
                        确认
                    </View>
                    <View onClick={() => {
                        onFail()
                    }} className='CheckDrawer_btn_info1'>
                        去修改
                    </View>
                </View>
            </View>
        </View>
    </Mask >

}
export default CheckDrawer